import request from '@/utils/request'
export default {
    //获取活期基金分页列表
    getnewchapterInfo(page, limit) {
        return request({
            
            url: `/member/books/selectByUploader`,
            method: 'post',
            data: {
                uploader:JSON.parse(localStorage.getItem("user")).username
            }

        })
    },

    removeToBookshelf(id){
        return request({
            url: `/member/bookshelf/deleteById`,
            method: 'post',
            data: {
                id:id,
            }

        })
    }
    
    // //删除活期基金
    // deleteBankById(id) {
    //     return request({
    //         url: `/bank/delete/${id}`,
    //         method: 'get',

    //     })
    // },
   
}

